package net.wwang.blog.controller.admin;

import net.wwang.blog.pojo.Looper;
import net.wwang.blog.commons.global.ResponseResult;
import org.springframework.web.bind.annotation.*;

/**
 * @author WangWei
 * @date 2020/8/14
 */
@RestController
@RequestMapping(value = "/admin/looper")
public class LooperApi {

    @PostMapping
    public ResponseResult addLooper(@RequestBody Looper looper) {
        return  null;
    }


    @DeleteMapping(value = "/{looperId}")
    public  ResponseResult delLooper(@PathVariable("looperId")String looperId){
        return  null;
    }


    @GetMapping(value = "/list")
    public ResponseResult getLooperList(@RequestParam("page")int page, @RequestParam("size")int size){
        return null;
    }


    @PutMapping(value = "/{looperId}")
    public  ResponseResult updateLooper(@PathVariable("looperId")String looperId){
        return  null;
    }


    @GetMapping(value = "/{looperId}")
    public  ResponseResult getLooper(@PathVariable("looperId")String looperId){
        return  null;
    }

}
